import Cookies from 'js-cookie'

export function getToken() {
  return Cookies.get("access_token")
}

export function getRefreshToken() {
  return Cookies.get("refresh_token")
}

export function setToken(accessToken, refreshToken) {
  Cookies.set("access_token", accessToken)
  Cookies.set("refresh_token", refreshToken)
}

export function removeToken() {
  Cookies.remove("access_token")
  Cookies.remove("refresh_token")
}
